# Run-time messages to Diagnostics for the Login button

At run time the application logs information and error messages about the Login button to diagnostics under these circumstances:

## Log in

- If login is successful, the application logs a message.
- If login is successful, the application logs a message about the System\User Account ID.

## Unknown user or password

- If the user name or password dose not match the settings in the Runtime Security editor, the user is not logged in and the application logs an error.

## See also

Create Login buttons

Use the Login dialog box

Problems with logging in